<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
	<head>
		<title>井冈山智慧社区-公众互动</title>
		<%@ include file="../../common/Website-list.jsp"%>
		<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="<%=bpath%>Scripts/metisMenu/metisMenu.css"/>
		<link rel="stylesheet" type="text/css" href="<%=bpath%>Scripts/metisMenu/metisFolder.css"/>		
		<script type="text/javascript" src="<%=bpath%>Scripts/metisMenu/metisMenu.js"></script>				
		<script type="text/javascript" src="<%=bpath%>Scripts/jquery/jquery.form.js"></script>		
		<script type="text/javascript" src="<%=bpath%>Scripts/jquery/jquery.validate.min.js"></script>	
		<link rel="stylesheet" type="text/css" href="<%=bpath%>pages/WebSitePc/css/categoryMenu.css"/>		
		<link rel="stylesheet" type="text/css" href="<%=bpath%>pages/WebSitePc/css/publicInteract.css"/>	
		<style>
			pre {
				white-space: pre-wrap;       /* css-3 */
				white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
				white-space: -pre-wrap;      /* Opera 4-6 */
				white-space: -o-pre-wrap;    /* Opera 7 */
				word-wrap: break-word;       /* Internet Explorer 5.5+ */
				word-break:break-all;
				overflow:hidden;
			}
		</style>
		<script type="text/javascript" src="<%=bpath%>pages/WebSitePc/js/adviceAdd.js"></script>
		<script type="text/javascript">			
			$(function(){
				
				if('${data.siteMenuList!=null}' && ${data.siteMenuList.size()>0}){
					//获取第一个,顶部 
					var firstId='${data.siteMenuList.get(0).id}';
					var firstName='${data.siteMenuList.get(0).menuName}';
					var url='${data.siteMenuList.get(0).url}';					
					$olda='#nav'+firstId; //选中导航					
					
					var lastId='${data.siteMenuList.get(data.siteMenuList.size()-1).id}';
					
					getMenuLeft(firstId,firstName,url,lastId);					
					
				}	
				
				if('${data.advisoryMsg.typeId}'!=null && '${data.advisoryMsg.typeId}'==1){
					$("#polluteType").val('${data.advisoryMsg.polluteType}');
					$("#polluteType").attr("disabled","disabled");
				}
				
			});
		</script>
	</head>
<body>
	<!--Header Holder-->
	<jsp:include page="../../WebSitePc/heads.jsp" />	
	<!--main start-->	
	<div class="main">
		<div class="cate01">
			<div class="crumbs">			
				您现在位置：<a href="<%=basePath%>" target="_self">首页</a> &gt;				
                <c:if test= "${data.siteMenuList.size()>0}" >
                    <c:forEach items= "${data.siteMenuList}" var ="tf" varStatus = "st">                                              
                         <c:if test="${!st.last}">     						
     						<a href = "<%=basePath%>${tf.url}" target = "_self" class= "" >${tf.menuName} </a > &gt;
     					</c:if>       
     					<c:if test="${st.last}">
     						<a href = "<%=basePath%>${tf.url}" target = "_self" class= "" >
     						<font color="#2c95b7">${tf.menuName}</font></a >
     					</c:if>  
                    </c:forEach >
                </c:if >         
			</div>
			<div class="cebox">
      			<div class="boxLeft">
      				<aside class="sidebar">
			      		<nav class="sidebar-nav">
			        		<ul id="menuLeft" class="metismenu">
			        			<!-- 左侧 树 菜单  -->
			        		</ul>
			      		</nav>
			    	</aside>
				</div>				
				<!-- 右侧  纪检留言 页面-->		
				<div class="boxRight">
					<!-- 纪检详情 -->
			    	<div class="mailinfoView">
			      		<div class="mailbtView">
			      			<span  class="fa fa-file-text-o" style="display:inline;">  </span>			      		 
				      		 ${data.disciplinary.searchId}号--详情
			      		</div>
			      		<table width="100%" cellspacing="1" cellpadding="0" border="0" bgcolor="#CCCCCC" align="center">
			       		<tbody>
			       			<tr>
			                    <td width="15%" class="tdRight">日期：</td>
			                    <td width="82%">			                    	 
			                    	<fmt:formatDate pattern="yyyy-MM-dd"  value="${data.disciplinary.createTime}"  type="both" />&nbsp;&nbsp;&nbsp;&nbsp;									
							    </td>
			                </tr>      
			                <tr>
			                	<td class="tdRight">主题：</td>
			                    <td>${data.disciplinary.title}</td>
			                </tr> 			          			                                       
			                <tr>
			                    <td class="tdRight" valign="top">内容：</td>
			                    <td>${data.disciplinary.contents}</td>
			                </tr>                                                    
			      		</tbody>
			      		</table>     
			    	</div>	
			    	
			    	<!-- 回复 -->
			    	<div class="mailinfoView">
			      		<div class="mailbtView">
			      			<span  class="fa  fa-align-left" style="display:inline;">  </span>纪检留言--				      		
				      		<c:choose> 
			  					<c:when test="${data.disciplinary.states=='2'}">
			  						已回复
			  					</c:when> 			  				 
							  	<c:otherwise> 				
							    	待回复
							  	</c:otherwise> 
							</c:choose> 
			      		</div>      		  
			      		<table width="100%" cellspacing="1" cellpadding="0" border="0" bgcolor="#CCCCCC" align="center">
			       		<tbody>
			       			<tr>
			                	<td width="15%" class="tdRight">
			                    	<label id="Label1" >回复时间：</label>
			                	</td>
			                	<td  width="82%">			                		
			                		<fmt:formatDate pattern="yyyy-MM-dd"  value="${data.disciplinary.reply_time}"  type="both" />&nbsp;&nbsp;&nbsp;&nbsp;									
								</td>
			            	</tr>			       			
			                <tr>
			                	<td class="tdRight" valign="top">
			                    	<label id="Label1" >回复内容：</label>
			                	</td>
			                	<td>
			                		<input type="hidden" id="id" name="id" value="${data.disciplinary.id }"/>         
														
									<pre style="width: 100%; white-space: pre-wrap !important; word-wrap: break-word;">${data.disciplinary.reply_content}</pre> 
								</td>
			            	</tr>                                      
			      		</tbody>
			      		</table>  			      		  
			    	</div>  
    				
    				<div>
    					<input class="mailbtn2" type="button" onclick="window.history.go(-1)" value="返回" />
    				</div>
    				
				</div>				
			</div>			
		</div>	
	</div>
	
	
	<script type="text/javascript">
		//通过 导航  生成菜单	
		$(function () {    		
			$('#menuLeft').metisMenu({doubleTapToGo: true });
		});
	</script>
	
	<!--foot start-->
	<jsp:include page="../../WebSitePc/footer.jsp" />	
</body>
</html>